package com.yehaikeji.workflow.mapper;

import java.util.List;

import com.yehaikeji.workflow.bean.unit;

public interface unitMapper {
    int deleteByPrimaryKey(String unitid);

    int insert(unit record);

    int insertSelective(unit record);

    unit selectByPrimaryKey(String unitid);

    int updateByPrimaryKeySelective(unit record);

    int updateByPrimaryKey(unit record);
    
    
    List<unit> selectunitall(Integer type);
}